﻿using System;

namespace TSites.Common.Enums
{
	public enum RET_CODE
	{
		SUCCESS = 0,
		ERROR,
		DB_ERROR,
		// User management
		NOT_AUTHENTICATE,
		NOT_AUTHORIZE_ENOUGH,
		NOT_YET_ACTIVED,
		USER_LOCKED,
		USERID_EXISTED,
		USERID_DOES_NOT_EXISTED,
		EMAIL_EXISTED,
		EMAIL_DOES_NOT_EXISTED,
		USERID_EMAIL_EXISTED,
		WRONG_PASSWORD,
		MUST_CHANGE_PASSWORD,
		INVALID_KEY_VERIFY,
		KEY_VERIFY_IS_EXPIRED
	}
}
